import {Component} from '@angular/core';

@Component({
  selector: 'my-app',
  template: `<!--<my-nav></my-nav>
              <my-carousel></my-carousel>
              <hr>
              <my-forminline></my-forminline>
              <hero-list></hero-list>-->
              <nav>
                <a routerLink="/dashboard" routerLinkActive="active">Dashboard</a>
                <a routerLink="/heroes" routerLinkActive="active">Heroes</a>
              </nav>
              <router-outlet></router-outlet>`,
  styleUrls: ['./app.css']

})
export class AppComponent {
  name = 'Angular';
}
